package com.gzq.service;

import com.gzq.entity.Article;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: duzi55
 * @date: 2019-06-03 16:14
 */
public interface ArticleService {
    Page<Article> findAll(int page);
    boolean savaNew(Article article);
    Article findById(long id);
    boolean deletById(long id);
    boolean updateNews(Article article);
    List<Article> findBytitleLike(String title);

}
